package com.lottery.material.dao.portaluser;

import com.lottery.material.pojo.portaluser.ValidateCodeRecord;

/**
 * @description 验证码发送记录Mapper
 * @author rambo
 * @date 2019年4月11日 下午9:28:49
 */
@SuppressWarnings("JavaDoc")
public interface ValidateCodeRecordMapper {
	
    Integer deleteByPrimaryKey(Integer id);

    Integer insert(ValidateCodeRecord record);

    Integer insertSelective(ValidateCodeRecord record);

    ValidateCodeRecord selectByPrimaryKey(Integer id);

    Integer updateByPrimaryKeySelective(ValidateCodeRecord record);

    Integer updateByPrimaryKey(ValidateCodeRecord record);

    ValidateCodeRecord findFirstByPhoneNumberOrderByCreateTimeDesc(String phoneNumber);
    
}
